home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
print
/
chn2psv3.zip
/
README.DOC
< prev
next >
Wrap
Text File
|
1993-01-21
|
3KB
|
86 lines
|=========================================|
| CHN2PS |
|-----------------------------------------|
| A utility to translate a file including |
| Chinese characters (GB coded) to a |
| Postscript file. |
|-----------------------------------------|
| Authors : Jialong He & Li Liu |
| Date : 7-Jan-1993 |
| Modify : 21-Jan-1993 |
| add Letter Size option |
| |
| E-mail: |
| jialong@neuro.informatik.uni-ulm.de |
| or li@neuro.informatik.uni-ulm.de |
|=========================================|
(1) Purpose:
We were inspired by some utilities which allow
people to transform an ASCII file to a postscript file
and print it directly on a postscript printer. Now CHN2PS
can do similar things as that. It will create a
postscript format file from a file including Chinese
characters (GB coded) and print two pages on each A4
sheet (landscape). The font included with this utility is
a vector font, you can specify any size of the
characters.
(2) Usage:
CHN2PS is easy to use. If you just type CHN2PS
without giving any parameters, a short piece of help
message will be given.
Syntax:
CHN2PS [-n] [-l] fname[.gb]
where: the "fname" is the file including Chinese
characters, the default extension is ".gb". n is the
size of characters in millimeter (mm), the default value
is "3.1". "-l" specifing sheet size is Letter Size
(8.5x11 inch), default is A4 size (210x297 mm).
The result file will be "fname.ps". The font file
should be in the current working directory or in the PATH
of DOS, otherwise, CHN2PS will complain.
Example:
CHN2PS sample
This will create a postscript file "sample.ps" from
the included example file "sample.gb".
If you happen to have a Postscript printer, you can
print this file using the following command:
Copy sample.ps PRN or
Print sample.ps PRN
If you do not have any postscript printers, you have
to use the Gostscript which is a postscript emulator and
can be downloaded from WSMR-SIMTEL20.ARMY.MIL (IP address
192.88.110.20) in the directory PD1:<msdos.postscript>.
Supposing you have an Epson compatible printer, you
can type:
gs -sDEVICE=epson example.ps
(3) File List:
This CHH2PSV3.ZIP includes the following files
CHN2PS.EXE ;executable file
CHFONT.DAT ;Chinese font
SAMPLE.GB ;An example file in GB code
README.DOC ;This file
(4) Comments:
This utility is free to use and distribute. If you
have any comments or bug reports, please send us an e-
mail (address on the header of this file).